DEFINITION MODULE M2REALS;

(* (C) Copyright 1987,1988 Fitted Software Tools. All rights reserved. *)

(*
    This module's implementation is in M2REALS.ASM.
    Since the compiler knows about this module, it MAY NOT
    be changed by the user in any way that would change the
    procedure numbers assigned to each of these peocedures.
*)

(* REAL stuff *)
PROCEDURE FPADD( x, y :REAL ) :REAL;
PROCEDURE FPSUB( x, y :REAL ) :REAL;
PROCEDURE FPMUL( x, y :REAL ) :REAL;
PROCEDURE FPDIV( x, y :REAL ) :REAL;
PROCEDURE FPNEG( x    :REAL ) :REAL;
PROCEDURE FPABS( x    :REAL ) :REAL;
PROCEDURE FPCMP( x, y :REAL ) :CARDINAL;
PROCEDURE FPFLOAT( n  :CARDINAL ) :REAL;
PROCEDURE FPTRUNC( x  :REAL )     :CARDINAL;
(* LONGREAL stuff *)
PROCEDURE FPDADD( x, y :LONGREAL ) :LONGREAL;
PROCEDURE FPDSUB( x, y :LONGREAL ) :LONGREAL;
PROCEDURE FPDMUL( x, y :LONGREAL ) :LONGREAL;
PROCEDURE FPDDIV( x, y :LONGREAL ) :LONGREAL;
PROCEDURE FPDNEG( x    :LONGREAL ) :LONGREAL;
PROCEDURE FPDABS( x    :LONGREAL ) :LONGREAL;
PROCEDURE FPDCMP( x, y :LONGREAL ) :CARDINAL;
PROCEDURE FPDFLOAT( x  :LONGCARD ) :LONGREAL;
PROCEDURE FPDTRUNC( x  :LONGREAL ) :LONGCARD;
(* LONG / SHORT *)
PROCEDURE FPSHORT ( x  :LONGREAL ) :REAL;
PROCEDURE FPLONG  ( x  :REAL     ) :LONGREAL;
(* 8087 in the system ? *)
PROCEDURE IS8087PRESENT() :BOOLEAN;

END M2REALS.